<?php

/**
52zll.top$
 */

if(!defined('IN_DISCUZ')) {
	exit('Access Denied');
}

require_once libfile('function/base', 'plugin/dzapp_base');

loadcache(array('plugin', 'cache', 'dzapp_zhibo'));
$var = $_G['cache']['plugin']['dzapp_zhibo'];
$config = dunserialize($_G['setting']['dzapp_zhibo']);
require DISCUZ_ROOT.'./source/plugin/dzapp_zhibo/function/function_zhibo.php';

$zhibo_seo = dunserialize($_G['setting']['zhibo_seo']);
$nobbname = true;

$modarray = array('index', 'list', 'view', 'ajax', 'zhibocp', 'oauth');
$mod = !in_array($_G['mod'], $modarray) ? 'zhibocp' : $_G['mod'];
$ac = $_GET['ac'] ? $_GET['ac'] : 'activity';



if(!$_G['mobile']) {
	hookscriptoutput();
}
//exit(DISCUZ_ROOT.'./source/plugin/dzapp_zhibo/module/zhibo_'.$mod.'.php');
require DISCUZ_ROOT.'./source/plugin/dzapp_zhibo/module/zhibo_'.$mod.'.php';

?>